package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 指标属性对象 emp_norm_attribute
 *
 * @author zsl
 * @date 2024-04-15
 */
@Data
public class NormAttribute extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 类型（字典）
     */
    private String type;

    /**
     * 级别
     */
    private String level;

    /**
     * 父菜单ID
     */
    private Long parentId;

    private List<NormAttribute> children = new ArrayList<>();
}
